package cn.saas.jingtandata;

import java.io.Serializable;

/**
 * 附件信息
 */
public class LpAnnexBean implements Serializable, Cloneable {
	private static final long serialVersionUID = -8344310571847440724L;
	private int id;
	private String anGuid;//附件GUID
	private String anBussId;//附件业务ID
	private int anBussType;//附件业务ID
	private String anName;//附件名称
	private int anType;//附件类型
	private String anPath;//附件路径
	private int anState;//附件状态
	private String anCreatTime;//附件创建时间
	private double anLat;//附件获取坐标--纬度
	private double anLon;//附件获取坐标--经度
	private String anRemark;//附件备注

	@Override
	public LpAnnexBean clone() {
		LpAnnexBean reb = null;
		try {
			reb = (LpAnnexBean) super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return reb;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	public String getAnGuid() {
		return anGuid;
	}

	public void setAnguid(String anGuid) {
		this.anGuid = anGuid;
	}

	public String getAnBussId() {
		return anBussId;
	}

	public void setAnbussid(String anBussId) {
		this.anBussId = anBussId;
	}

	public int getAnBussType() {
		return anBussType;
	}

	public void setAnbusstype(int anBussType) {
		this.anBussType = anBussType;
	}

	public int getAnType() {
		return anType;
	}

	public void setAntype(int anType) {
		this.anType = anType;
	}

	public String getAnPath() {
		return anPath;
	}

	public void setAnpath(String anPath) {
		this.anPath = anPath;
	}

	public int getAnState() {
		return anState;
	}

	public void setAnstate(int anState) {
		this.anState = anState;
	}

	public String getAnCreatTime() {
		return anCreatTime;
	}

	public void setAncreattime(String anCreatTime) {
		this.anCreatTime = anCreatTime;
	}

	public double getAnLat() {
		return anLat;
	}

	public void setAnlat(double anLat) {
		this.anLat = anLat;
	}

	public double getAnLon() {
		return anLon;
	}

	public void setAnlon(double anLon) {
		this.anLon = anLon;
	}

	public String getAnRemark() {
		return anRemark;
	}

	public void setAnremark(String anRemark) {
		this.anRemark = anRemark;
	}

	public String getAnName() {
		return anName;
	}

	public void setAnName(String anName) {
		this.anName = anName;
	}

	public enum MediaType {
		NOTER("记录人", 0), CAPTAIN("机长", 1), CHECKER("检查人", 2), PICTURE("图片", 3), DRAW(
				"绘图", 4), RECORD("录音", 5), VIDEO("视频", 6);
		private String mMediaName;//类型名
		private int mIndex;//序号

		MediaType(String name, int index) {
			this.mMediaName = name;
			this.mIndex = index;
		}

		@Override
		public String toString() {
			return this.mMediaName;
		}

		public int getIndex() {
			return this.mIndex;
		}
	}
}
